package com.xmg.p2p.base.service;

import com.xmg.p2p.base.domain.Userinfo;

/**
 * Created by zsl on 2017/10/26.
 */
public interface IUserinfoService {
	void update(Userinfo userinfo);

	void add(Userinfo ui);

	Userinfo get(Long id);

    void bindPhone(String phoneNumber, String verifyCode);

    void sendVerifyEamil(String email);

    Userinfo getCurrent();

	void bindEmail(String uuid);

    void updateBasicInfo(Userinfo userinfo);
}
